home *** CD-ROM | disk | FTP | other *** search
- =============================================================================
-
- Programming Object Oriented Arcade Games In Turbo C
- By
- David Conger
-
- =============================================================================
-
- (C) Copyright 1993 David Conger
-
- Published By
- MicroSwift Software Solutions
- P.O. Box 45122
- Rio Rancho, NM 87174
-
- -----------------------------------------------------------------------------
-
- CONTENTS
- I. This Is A Book
- II. What This Book Does For You
- III. This Software Is Not Free
- IV. Registering This Software
- V. Installing The Software
- VI. Troubleshooting The Software
-
- -----------------------------------------------------------------------------
-
- I. This Is A Book
- This software is an interactive book. It uses the computer as a personal
- tutor. That's nice, because this tutor is there whenever you want it, and it
- teaches you at your own pace.
-
- Most of the book is text-based. However there are some portions of it that
- require a graphics adaptor. This is quite natural given the subject of the
- book. This software supports EGA, VGA, and SVGA compatible displays. CGA is
- not supported.
-
- -----------------------------------------------------------------------------
-
- II. What This Book Does For You
- Programming Object Oriented Arcade Games In Turbo C is designed to do the
- following:
-
- 1. Teach the fundamentals of animation.
- 2. Help the reader apply animation techniques to writing arcade games.
- 3. Teach the underlying principles of object oriented programming.
- 4. Help the reader make an easier transition to object oriented languages
- like C++.
-
- Programming Object Oriented Arcade Games In Turbo C was written by a college
- instructor who teaches both C and C++. It is meant not only to help the reader
- write arcade games, but to teach a method of writing them in an object oriented
- manner. This can be done in spite of the fact that the C language is used
- rather than C++.
- The method of C programming presented in this text helps C programmers more
- easily make the transition to object oriented languages like C++. It is a
- classroom-tested methodology that has been proven to work.
-
- All of the basic principles of animation are presented and explained in this
- book. A brief discussion of 3D simulation is also included. The source code
- for the Space Attackers game that comes with the registered version of the
- software demonstrates all of the concepts presented in the book.
-
- The registered version of this software presents a detailed line-by-line
- explanation of all of the source code for the example Space Attackers game.
- Nowhere else will you find such an in-depth presentation of the techniques of
- writing arcade-style games.
-
- -----------------------------------------------------------------------------
-
- III. This Software Is Not Free
- This tutorial is not freeware, it is offered as shareware. This shareware
- version includes six out of the ten chapters that are contained in this book.
- If you like the book, and would like to obtain Chapters 7-10, please use the
- information given below to register your copy.
-
- You are encouraged to freely copy and distribute this shareware version of the
- program. The registered version of the software may not be copied or
- distributed by anyone other than MicroSwift Software Solutions.
-
- A fee may be charged for the distribution of this shareware not to exceed $5.00.
-
- -----------------------------------------------------------------------------
-
- IV. Registering This Software
- A. How To Register
- A registration form is included with this shareware in the file FORM.REG.
- It can be printed using your favorite word processor or text editor. It
- can also be printed by using the DOS COPY command as shown below.
-
- C:\>copy form.reg prn
-
- Please send the form with a check or money order to
-
- MicroSwift Software Solutions
- P.O. Box 45122
- Rio Rancho, NM 87174
-
- B. What You Get When You Register
- When you register your copy of Programming Object Oriented Arcade Games In
- Turbo C you will receive the following:
-
- 1. The complete tutorial, including Chapters 7-10 and an appendix that
- contains a list of suggested readings for further study.
- 2. All of the source code for the Space Attackers game. Chapters 7-10
- of the book give a very comprehensive explanation of the Space
- Attackers source code.
-
- -----------------------------------------------------------------------------
-
- V. Installing The Software
- The software can be installed on your hard disk using the steps below.
-
- 1. Insert the disk containing Programming Object Oriented Arcade Games In
- Turbo C into one of the floppy drives of your computer.
- 2. Make the drive that you want to install the software to the current drive.
- For instance, if you are installing to the C drive, type C: and the DOS
- prompt. If you are installing to the D drive, type D:
- 3. Create a directory for the tutorial using the DOS MD (make directory)
- command. EXAMPLE: MD ARCADE
- 4. Make the directory that you want to install the tutorial into the current
- directory. EXAMPLE: CD ARCADE
- 5. At the DOS prompt type
- copy A:\MS.EXE
- if the program disk is in the A drive, or
- copy B:\MS.EXE
- if the program disk is in the B drive.
- 6. The tutorial is contained in a compressed format. This file is self-
- extracting. To uncompress it, simply type MS at the DOS prompt.
-
- The tutorial will uncompress itself. It can be run by typing the word
- ARCADE at the DOS prompt.
-
- The first time you run the tutorial, please be sure and select the section
- entitled How To Use This Tutorial.
-
- WARNING: Before you use this tutorial, the COMSPEC environment variable MUST
- be set to the path of the DOS file COMMAND.COM. For instructions on how to do
- this, please see Troubleshooting The Software.
-
- -----------------------------------------------------------------------------
-
- VI. Troubleshooting The Software
- If the tutorial doesn't run properly it may be for one of two reasons.
-
- 1. There is not enough memory in the computer.
- 2. The tutorial can't find the COMSPEC environment variable in your DOS
- environment.
-
- The first problem can be rectified by loading fewer programs, TSRs, and
- device drivers into memory. If your computer has less than 512K of RAM, you
- might consider installing more memory.
-
- The second problem can be solved by specifying the path to the DOS file
- COMMAND.COM in your AUTOEXEC.BAT file.
-
- EXAMPLE 1:
- If COMMAND.COM is in the root directory of the C drive, add the line
-
- SET COMSPEC=C:\COMMAND.COM
-
- into your AUTOEXEC.BAT file.
- EXAMPLE 2:
- If COMMAND.COM is in the DOS directory of the D drive, add the line
-
- SET COMSPEC=D:\DOS\COMMAND.COM
-
- into your AUTOEXEC.BAT file.
-
- Re-boot your computer so that the change can take effect.
-
- ==================================END========================================